﻿using Orchard.ContentManagement;
using Orchard.ContentManagement.Records;

namespace Contrib.BSNavigation.Models {
    public class BSLinkPart : ContentPart<BSLinkPartRecord>
    {
        public string CustomAttributeName {
            get { return Record.CustomAttributeName; }
            set { Record.CustomAttributeName = value; }
        }

        public string CustomAttributeValue
        {
            get { return Record.CustomAttributeValue; }
            set { Record.CustomAttributeValue = value; }
        }
    }

    public class BSLinkPartRecord : ContentPartRecord
    {
        public virtual string CustomAttributeName { get; set; }
        public virtual string CustomAttributeValue { get; set; }
    }
}